// TOWN DIALOGUE SCRIPT
// 	Town 5: Lost Bahssikava (2)

// This is the dialogue for this town.
// You can use states numbered from 1 to 99.

begintalkscript;

variables;

// *** Kass ***

begintalknode 1;
	state = -1;
	personality = 50;
	nextstate = 1;
	condition = 1;
	question = "Kass";
	text1 = "Kass waits here. He looks much more upset than you have ever seen him before. _Yes?_ he says. _What is it?_";

begintalknode 2;
	state = 1;
	personality = 50;
	nextstate = 1;
	condition = 1;
	question = "How is the battle going?";
	text1 = "_The fighting has ceased. The... the... demons in the guise of sliths hold the outer section of Bahssikava. The Prophet's forces control the inner area._";
	text2 = "_This stalemate has given your mission greater urgency than before. We must get out of here, and the army that the false priests have brought has  blocked our exit into Avernum. Our only way out is through the tunnel to our homeland._";

begintalknode 3;
	state = 1;
	personality = 50;
	nextstate = 1;
	condition = 1;
	question = "How is Legare doing?";
	text1 = "Kass sighs, a dark hissing sound. _The Prophet's health was already precarious before the attack, and to know that the sliths of Gnass have betrayed him this deeply has done nothing to improve his state._";
	text2 = "_He will be fine. Just concentrate on finding the steel doors, and when you do, I will make sure that the Prophet is in good enough condition to open them._";

begintalknode 4;
	state = 1;
	personality = 50;
	nextstate = 1;
	condition = get_flag(3,4);
	question = "I found some really, really old slith buildings underneath Lost Bahssikava.";
	text1 = "_Old slith buildings?_ Kass thinks for a moment. _I have heard nothing of sliths living under Bahssikava. I know that the steel doors are not there. I don't know what is there, though._";

begintalknode 5;
	state = 1;
	personality = 50;
	nextstate = 1;
	condition = (has_special_item(1) > 0) && (get_flag(3,9) == 0);
	question = "Do you know what I might do with small metal triangles?";
	text1 = "Kass frowns. _No. I don't know anything about metal triangles._";
	
begintalknode 6;
	state = 1;
	personality = 50;
	nextstate = 1;
	condition = get_flag(3,9);
	question = "Do you know where I might find small metal triangles?";
	text1 = "Kass frowns. _No. I have no idea._";